package com.dada.job;

import com.dangdang.ddframe.job.api.JobExecutionMultipleShardingContext;
import com.dangdang.ddframe.job.plugin.job.type.simple.AbstractSimpleElasticJob;
import org.springframework.stereotype.Component;

/**
 * Created by jianweilin on 16/9/25.
 */
@Component
public class TaskDemo extends AbstractSimpleElasticJob {


    @Override
    public void process(JobExecutionMultipleShardingContext jobExecutionMultipleShardingContext) {
        System.out.println("======== TASK START .... =======");
        System.out.println("======== TASK END .... =======");
    }

}
